import ins from "../utils/request";
export function getList() {
    return ins.get('/dataSource')
}

export function del(id) {
    return ins.delete('/dataSource/' + id)
}

export function add(obj) {
    return ins.post('/dataSource', obj)
}

export function upDate(id, obj) {
    return ins.patch('/dataSource/' + id, obj)
}

export function details(id) {
    return ins.get('/dataSource/' + id)
}